import Admin from "../../pages/admin/admin"
import Container from "../../pages/admin/container";
import Add from "../../pages/admin/add";
import Action from "../../pages/admin/action";
import Error from "../../pages/admin/error";

const admin={
    path: "",
    element: <Container />,
    children: [
      {
        path:"admin",
        name:'管理员',
        element:<Admin></Admin>
      },
      {
        path:'admin/add',
        name:'新增管理员',
        element:<Add></Add>
      },
      {
        path:'admin/action',
        name:'行为日志',
        element:<Action></Action>
      },
      {
        path:'admin/error',
        name:'错误日志',
        element:<Error></Error>
      },

    ]
}
export default admin;